// Rotate Animation 

// Rotate
.rotate{
  animation: rotateAnim linear 0.7s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  -webkit-animation: rotateAnim linear 0.7s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -moz-animation: rotateAnim linear 0.7s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -o-animation: rotateAnim linear 0.7s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -ms-animation: rotateAnim linear 0.7s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
}

@keyframes rotateAnim{
  0% {
    opacity:0;
    transform:  rotate(-200deg) ;
  }
  100% {
    opacity:1;
    transform:  rotate(0deg) ;
  }
}

@-moz-keyframes rotateAnim{
  0% {
    opacity:0;
    -moz-transform:  rotate(-200deg) ;
  }
  100% {
    opacity:1;
    -moz-transform:  rotate(0deg) ;
  }
}

@-webkit-keyframes rotateAnim {
  0% {
    opacity:0;
    -webkit-transform:  rotate(-200deg) ;
  }
  100% {
    opacity:1;
    -webkit-transform:  rotate(0deg) ;
  }
}

@-o-keyframes rotateAnim {
  0% {
    opacity:0;
    -o-transform:  rotate(-200deg) ;
  }
  100% {
    opacity:1;
    -o-transform:  rotate(0deg) ;
  }
}

@-ms-keyframes rotateAnim {
  0% {
    opacity:0;
    -ms-transform:  rotate(-200deg) ;
  }
  100% {
    opacity:1;
    -ms-transform:  rotate(0deg) ;
  }
}

// Rotate Out
.rotateOut{
  animation: rotateOutAnim linear 0.7s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  -webkit-animation: rotateOutAnim linear 0.7s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -moz-animation: rotateOutAnim linear 0.7s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -o-animation: rotateOutAnim linear 0.7s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -ms-animation: rotateOutAnim linear 0.7s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
}

@keyframes rotateOutAnim{
  0% {
    opacity:1;
    transform:  rotate(0deg) ;
  }
  100% {
    opacity:0;
    transform:  rotate(200deg) ;
  }
}

@-moz-keyframes rotateOutAnim{
  0% {
    opacity:1;
    -moz-transform:  rotate(0deg) ;
  }
  100% {
    opacity:0;
    -moz-transform:  rotate(200deg) ;
  }
}

@-webkit-keyframes rotateOutAnim {
  0% {
    opacity:1;
    -webkit-transform:  rotate(0deg) ;
  }
  100% {
    opacity:0;
    -webkit-transform:  rotate(200deg) ;
  }
}

@-o-keyframes rotateOutAnim {
  0% {
    opacity:1;
    -o-transform:  rotate(0deg) ;
  }
  100% {
    opacity:0;
    -o-transform:  rotate(200deg) ;
  }
}

@-ms-keyframes rotateOutAnim {
  0% {
    opacity:1;
    -ms-transform:  rotate(0deg) ;
  }
  100% {
    opacity:0;
    -ms-transform:  rotate(200deg) ;
  }
}

// Rotate Down 
.rotateDown{
  animation: rotateDownAnim linear 0.7s;
  animation-iteration-count: 1;
  transform-origin: 0% 100%;
  -webkit-animation: rotateDownAnim linear 0.7s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 0% 100%;
  -moz-animation: rotateDownAnim linear 0.7s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 0% 100%;
  -o-animation: rotateDownAnim linear 0.7s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 0% 100%;
  -ms-animation: rotateDownAnim linear 0.7s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 0% 100%;
}

@keyframes rotateDownAnim{
  0% {
    opacity:0;
    transform:  rotate(-90deg) ;
  }
  100% {
    opacity:1;
    transform:  rotate(0deg) ;
  }
}

@-moz-keyframes rotateDownAnim{
  0% {
    opacity:0;
    -moz-transform:  rotate(-90deg) ;
  }
  100% {
    opacity:1;
    -moz-transform:  rotate(0deg) ;
  }
}

@-webkit-keyframes rotateDownAnim {
  0% {
    opacity:0;
    -webkit-transform:  rotate(-90deg) ;
  }
  100% {
    opacity:1;
    -webkit-transform:  rotate(0deg) ;
  }
}

@-o-keyframes rotateDownAnim {
  0% {
    opacity:0;
    -o-transform:  rotate(-90deg) ;
  }
  100% {
    opacity:1;
    -o-transform:  rotate(0deg) ;
  }
}

@-ms-keyframes rotateDownAnim {
  0% {
    opacity:0;
    -ms-transform:  rotate(-90deg) ;
  }
  100% {
    opacity:1;
    -ms-transform:  rotate(0deg) ;
  }
}